import request from "../request.js"
let method = {
	wxAuthLogin: (data) => {
		return request({
			url: '/api/member/wxAuthLogin.client',
			method: "POST",
			data: data
		})
	},
	wxAuthMobile: (data) => {
		return request({
			url: '/api/member/wxAuthMobile.client',
			method: "POST",
			data: data
		})
	},
	getPersonCenterById: (data) => {
		return request({
			url: '/api/member/getPersonCenterById.client',
			method: "POST",
			data: data
		})
	},
	saveHangye: (data) => {
		return request({
			url: '/api/member/saveHangye.client',
			method: "POST",
			data: data
		})
	},
	getMemberInfo: (data) => {
		return request({
			url: '/api/member/getMemberInfo.client',
			method: "POST",
			data: data
		})
	},
	getDictList: (data) => {
		return request({
			url: '/api/member/getDictList.client',
			method: "POST",
			data: {
				code: data
			}
		})
	},
	updateMemberMingpian: (data) => {
		return request({
			url: '/api/member/updateMemberMingpian.client',
			method: "POST",
			data: data
		})
	},
	getJifenIndex: (data) => {
		return request({
			url: '/api/member/getJifenIndex.client',
			method: "POST",
			data: data
		})
	},
	getBuyJifenList: (data) => {
		return request({
			url: '/api/member/getBuyJifenList.client',
			method: "POST",
			data: data
		})
	},
	getJifenNoteList: (data) => {
		return request({
			url: '/api/member/getJifenNoteList.client',
			method: "POST",
			data: data
		})
	},
	createOrder: (data) => {
		return request({
			url: '/api/member/createOrder.client',
			method: "POST",
			data: data
		})
	},
	useJifen: (data) => {
		return request({
			url: '/api/member/useJifen.client',
			method: "POST",
			data: data
		})
	},
	closeOrOpenLxkh: (data) => {
		return request({
			url: '/api/member/closeOrOpenLxkh.client',
			method: "POST",
			data: data
		})
	},
	getBannerList: (data) => {
		return request({
			url: '/api/member/getBannerList.client',
			method: "POST",
			data: data
		})
	},
	saveCollect: (data) => {
		return request({
			url: '/api/member/saveCollect.client',
			method: "POST",
			data: data
		})
	},
	handleMpjh: (data) => {
		return request({
			url: '/api/member/handleMpjh.client',
			method: "POST",
			data: data
		})
	},
	getMyCollectList: (data) => {
		return request({
			url: '/api/member/getMyCollectList.client',
			method: "POST",
			data: data
		})
	},
	zhidingMp: (data) => {
		return request({
			url: '/api/member/zhidingMp.client',
			method: "POST",
			data: data
		})
	},
}
export default method